from helper import *

import wx

class BackgroundFrame(wx.MiniFrame):
	def __init__(self, parent, title, pos, size):
		wx.Frame.__init__(self, parent, -1, title, pos=pos, size=size, style=wx.NO_BORDER)
		panel = wx.Panel(self, size = size)
		self.panel = panel
		panel.Layout()
	
	def set_colors(self, color_dict):
		self.panel.SetBackgroundColour(get_color('background'))
	
